package com.example.administrator.acmapp.Bean;

import java.util.List;

/**
 * Created by Administrator on 2018/2/5/005.
 */

public class Test {

    /**
     * resultcode : 200
     * reason : 查询成功
     * result : {"sk":{"temp":"4","wind_direction":"西风","wind_strength":"4级","humidity":"40%","time":"13:21"},"today":{"temperature":"-3℃~5℃","weather":"晴","weather_id":{"fa":"00","fb":"00"},"wind":"西北风3-5级","week":"星期一","city":"苏州","date_y":"2018年02月05日","dressing_index":"冷","dressing_advice":"天气冷，建议着棉服、羽绒服、皮夹克加羊毛衫等冬季服装。年老体弱者宜着厚棉衣、冬大衣或厚羽绒服。","uv_index":"中等","comfort_index":"","wash_index":"较适宜","travel_index":"较不宜","exercise_index":"较不宜","drying_index":""},"future":[{"temperature":"-3℃~5℃","weather":"晴","weather_id":{"fa":"00","fb":"00"},"wind":"西北风3-5级","week":"星期一","date":"20180205"},{"temperature":"-4℃~3℃","weather":"晴转多云","weather_id":{"fa":"00","fb":"01"},"wind":"北风3-5级","week":"星期二","date":"20180206"},{"temperature":"-1℃~7℃","weather":"多云","weather_id":{"fa":"01","fb":"01"},"wind":"南风微风","week":"星期三","date":"20180207"},{"temperature":"-1℃~5℃","weather":"多云","weather_id":{"fa":"01","fb":"01"},"wind":"北风3-5级","week":"星期四","date":"20180208"},{"temperature":"2℃~7℃","weather":"小雨","weather_id":{"fa":"07","fb":"07"},"wind":"南风微风","week":"星期五","date":"20180209"},{"temperature":"-1℃~7℃","weather":"多云","weather_id":{"fa":"01","fb":"01"},"wind":"南风微风","week":"星期六","date":"20180210"},{"temperature":"-1℃~7℃","weather":"多云","weather_id":{"fa":"01","fb":"01"},"wind":"南风微风","week":"星期日","date":"20180211"}]}
     * error_code : 0
     */

    private String resultcode;
    private String reason;
    private ResultBean result;
    private int error_code;
    /**
     * data : {"id":1,"role":null,"userName":"wffly","nickName":"微风","password":null,"tel":null,"emial":"wffly@emai.com","enable":1,"headImg":null,"registerTime":null,"lastLoginTime":null,"lastLoginTimeFrom":null,"lastLoginTimeTo":null,"registerTimeFrom":null,"registerTimeTo":null,"newpas":null}
     * errorMsg : 成功
     * errorCode : 0
     */

    private DataBean data;
    private String errorMsg;
    private String errorCode;

    public String getResultcode() {
        return resultcode;
    }

    public void setResultcode(String resultcode) {
        this.resultcode = resultcode;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public static class ResultBean {
        /**
         * sk : {"temp":"4","wind_direction":"西风","wind_strength":"4级","humidity":"40%","time":"13:21"}
         * today : {"temperature":"-3℃~5℃","weather":"晴","weather_id":{"fa":"00","fb":"00"},"wind":"西北风3-5级","week":"星期一","city":"苏州","date_y":"2018年02月05日","dressing_index":"冷","dressing_advice":"天气冷，建议着棉服、羽绒服、皮夹克加羊毛衫等冬季服装。年老体弱者宜着厚棉衣、冬大衣或厚羽绒服。","uv_index":"中等","comfort_index":"","wash_index":"较适宜","travel_index":"较不宜","exercise_index":"较不宜","drying_index":""}
         * future : [{"temperature":"-3℃~5℃","weather":"晴","weather_id":{"fa":"00","fb":"00"},"wind":"西北风3-5级","week":"星期一","date":"20180205"},{"temperature":"-4℃~3℃","weather":"晴转多云","weather_id":{"fa":"00","fb":"01"},"wind":"北风3-5级","week":"星期二","date":"20180206"},{"temperature":"-1℃~7℃","weather":"多云","weather_id":{"fa":"01","fb":"01"},"wind":"南风微风","week":"星期三","date":"20180207"},{"temperature":"-1℃~5℃","weather":"多云","weather_id":{"fa":"01","fb":"01"},"wind":"北风3-5级","week":"星期四","date":"20180208"},{"temperature":"2℃~7℃","weather":"小雨","weather_id":{"fa":"07","fb":"07"},"wind":"南风微风","week":"星期五","date":"20180209"},{"temperature":"-1℃~7℃","weather":"多云","weather_id":{"fa":"01","fb":"01"},"wind":"南风微风","week":"星期六","date":"20180210"},{"temperature":"-1℃~7℃","weather":"多云","weather_id":{"fa":"01","fb":"01"},"wind":"南风微风","week":"星期日","date":"20180211"}]
         */

        private SkBean sk;
        private TodayBean today;
        private List<FutureBean> future;

        public SkBean getSk() {
            return sk;
        }

        public void setSk(SkBean sk) {
            this.sk = sk;
        }

        public TodayBean getToday() {
            return today;
        }

        public void setToday(TodayBean today) {
            this.today = today;
        }

        public List<FutureBean> getFuture() {
            return future;
        }

        public void setFuture(List<FutureBean> future) {
            this.future = future;
        }

        public static class SkBean {
            /**
             * temp : 4
             * wind_direction : 西风
             * wind_strength : 4级
             * humidity : 40%
             * time : 13:21
             */

            private String temp;
            private String wind_direction;
            private String wind_strength;
            private String humidity;
            private String time;

            public String getTemp() {
                return temp;
            }

            public void setTemp(String temp) {
                this.temp = temp;
            }

            public String getWind_direction() {
                return wind_direction;
            }

            public void setWind_direction(String wind_direction) {
                this.wind_direction = wind_direction;
            }

            public String getWind_strength() {
                return wind_strength;
            }

            public void setWind_strength(String wind_strength) {
                this.wind_strength = wind_strength;
            }

            public String getHumidity() {
                return humidity;
            }

            public void setHumidity(String humidity) {
                this.humidity = humidity;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }
        }

        public static class TodayBean {
            /**
             * temperature : -3℃~5℃
             * weather : 晴
             * weather_id : {"fa":"00","fb":"00"}
             * wind : 西北风3-5级
             * week : 星期一
             * city : 苏州
             * date_y : 2018年02月05日
             * dressing_index : 冷
             * dressing_advice : 天气冷，建议着棉服、羽绒服、皮夹克加羊毛衫等冬季服装。年老体弱者宜着厚棉衣、冬大衣或厚羽绒服。
             * uv_index : 中等
             * comfort_index :
             * wash_index : 较适宜
             * travel_index : 较不宜
             * exercise_index : 较不宜
             * drying_index :
             */

            private String temperature;
            private String weather;
            private WeatherIdBean weather_id;
            private String wind;
            private String week;
            private String city;
            private String date_y;
            private String dressing_index;
            private String dressing_advice;
            private String uv_index;
            private String comfort_index;
            private String wash_index;
            private String travel_index;
            private String exercise_index;
            private String drying_index;

            public String getTemperature() {
                return temperature;
            }

            public void setTemperature(String temperature) {
                this.temperature = temperature;
            }

            public String getWeather() {
                return weather;
            }

            public void setWeather(String weather) {
                this.weather = weather;
            }

            public WeatherIdBean getWeather_id() {
                return weather_id;
            }

            public void setWeather_id(WeatherIdBean weather_id) {
                this.weather_id = weather_id;
            }

            public String getWind() {
                return wind;
            }

            public void setWind(String wind) {
                this.wind = wind;
            }

            public String getWeek() {
                return week;
            }

            public void setWeek(String week) {
                this.week = week;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getDate_y() {
                return date_y;
            }

            public void setDate_y(String date_y) {
                this.date_y = date_y;
            }

            public String getDressing_index() {
                return dressing_index;
            }

            public void setDressing_index(String dressing_index) {
                this.dressing_index = dressing_index;
            }

            public String getDressing_advice() {
                return dressing_advice;
            }

            public void setDressing_advice(String dressing_advice) {
                this.dressing_advice = dressing_advice;
            }

            public String getUv_index() {
                return uv_index;
            }

            public void setUv_index(String uv_index) {
                this.uv_index = uv_index;
            }

            public String getComfort_index() {
                return comfort_index;
            }

            public void setComfort_index(String comfort_index) {
                this.comfort_index = comfort_index;
            }

            public String getWash_index() {
                return wash_index;
            }

            public void setWash_index(String wash_index) {
                this.wash_index = wash_index;
            }

            public String getTravel_index() {
                return travel_index;
            }

            public void setTravel_index(String travel_index) {
                this.travel_index = travel_index;
            }

            public String getExercise_index() {
                return exercise_index;
            }

            public void setExercise_index(String exercise_index) {
                this.exercise_index = exercise_index;
            }

            public String getDrying_index() {
                return drying_index;
            }

            public void setDrying_index(String drying_index) {
                this.drying_index = drying_index;
            }

            public static class WeatherIdBean {
                /**
                 * fa : 00
                 * fb : 00
                 */

                private String fa;
                private String fb;

                public String getFa() {
                    return fa;
                }

                public void setFa(String fa) {
                    this.fa = fa;
                }

                public String getFb() {
                    return fb;
                }

                public void setFb(String fb) {
                    this.fb = fb;
                }
            }
        }

        public static class FutureBean {
            /**
             * temperature : -3℃~5℃
             * weather : 晴
             * weather_id : {"fa":"00","fb":"00"}
             * wind : 西北风3-5级
             * week : 星期一
             * date : 20180205
             */

            private String temperature;
            private String weather;
            private WeatherIdBeanX weather_id;
            private String wind;
            private String week;
            private String date;

            public String getTemperature() {
                return temperature;
            }

            public void setTemperature(String temperature) {
                this.temperature = temperature;
            }

            public String getWeather() {
                return weather;
            }

            public void setWeather(String weather) {
                this.weather = weather;
            }

            public WeatherIdBeanX getWeather_id() {
                return weather_id;
            }

            public void setWeather_id(WeatherIdBeanX weather_id) {
                this.weather_id = weather_id;
            }

            public String getWind() {
                return wind;
            }

            public void setWind(String wind) {
                this.wind = wind;
            }

            public String getWeek() {
                return week;
            }

            public void setWeek(String week) {
                this.week = week;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public static class WeatherIdBeanX {
                /**
                 * fa : 00
                 * fb : 00
                 */

                private String fa;
                private String fb;

                public String getFa() {
                    return fa;
                }

                public void setFa(String fa) {
                    this.fa = fa;
                }

                public String getFb() {
                    return fb;
                }

                public void setFb(String fb) {
                    this.fb = fb;
                }
            }
        }
    }

    public static class DataBean {
        /**
         * id : 1
         * role : null
         * userName : wffly
         * nickName : 微风
         * password : null
         * tel : null
         * emial : wffly@emai.com
         * enable : 1
         * headImg : null
         * registerTime : null
         * lastLoginTime : null
         * lastLoginTimeFrom : null
         * lastLoginTimeTo : null
         * registerTimeFrom : null
         * registerTimeTo : null
         * newpas : null
         */

        private int id;
        private Object role;
        private String userName;
        private String nickName;
        private Object password;
        private Object tel;
        private String emial;
        private int enable;
        private Object headImg;
        private Object registerTime;
        private Object lastLoginTime;
        private Object lastLoginTimeFrom;
        private Object lastLoginTimeTo;
        private Object registerTimeFrom;
        private Object registerTimeTo;
        private Object newpas;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public Object getRole() {
            return role;
        }

        public void setRole(Object role) {
            this.role = role;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public Object getPassword() {
            return password;
        }

        public void setPassword(Object password) {
            this.password = password;
        }

        public Object getTel() {
            return tel;
        }

        public void setTel(Object tel) {
            this.tel = tel;
        }

        public String getEmial() {
            return emial;
        }

        public void setEmial(String emial) {
            this.emial = emial;
        }

        public int getEnable() {
            return enable;
        }

        public void setEnable(int enable) {
            this.enable = enable;
        }

        public Object getHeadImg() {
            return headImg;
        }

        public void setHeadImg(Object headImg) {
            this.headImg = headImg;
        }

        public Object getRegisterTime() {
            return registerTime;
        }

        public void setRegisterTime(Object registerTime) {
            this.registerTime = registerTime;
        }

        public Object getLastLoginTime() {
            return lastLoginTime;
        }

        public void setLastLoginTime(Object lastLoginTime) {
            this.lastLoginTime = lastLoginTime;
        }

        public Object getLastLoginTimeFrom() {
            return lastLoginTimeFrom;
        }

        public void setLastLoginTimeFrom(Object lastLoginTimeFrom) {
            this.lastLoginTimeFrom = lastLoginTimeFrom;
        }

        public Object getLastLoginTimeTo() {
            return lastLoginTimeTo;
        }

        public void setLastLoginTimeTo(Object lastLoginTimeTo) {
            this.lastLoginTimeTo = lastLoginTimeTo;
        }

        public Object getRegisterTimeFrom() {
            return registerTimeFrom;
        }

        public void setRegisterTimeFrom(Object registerTimeFrom) {
            this.registerTimeFrom = registerTimeFrom;
        }

        public Object getRegisterTimeTo() {
            return registerTimeTo;
        }

        public void setRegisterTimeTo(Object registerTimeTo) {
            this.registerTimeTo = registerTimeTo;
        }

        public Object getNewpas() {
            return newpas;
        }

        public void setNewpas(Object newpas) {
            this.newpas = newpas;
        }
    }
}
